package org.adorsys.aderp.orga.init;

import javax.annotation.Resource;

import org.springframework.scheduling.annotation.Async;

public class AsynchLoader {

	@Resource
	private DataLoaderService dataLoaderService;
	
	@Async
	public void initAsynch(){
		try {
			Thread.sleep(30000);
		} catch (InterruptedException e) {

		}
		dataLoaderService.initApplication();
	}
	

}
